
UPDATE FLOWABLE.FLW_PAL_DATABASECHANGELOGLOCK SET LOCKED = 1, LOCKEDBY = '192.168.68.111 (192.168.68.111)', LOCKGRANTED = TO_TIMESTAMP('2021-12-13 17:48:57.241', 'YYYY-MM-DD HH24:MI:SS.FF') WHERE ID = 1 AND LOCKED = 0;

UPDATE FLOWABLE.FLW_PAL_DATABASECHANGELOGLOCK SET LOCKED = 0, LOCKEDBY = NULL, LOCKGRANTED = NULL WHERE ID = 1;


UPDATE FLOWABLE.FLW_LIC_DATABASECHANGELOGLOCK SET LOCKED = 1, LOCKEDBY = '192.168.68.111 (192.168.68.111)', LOCKGRANTED = TO_TIMESTAMP('2021-12-13 17:48:59.904', 'YYYY-MM-DD HH24:MI:SS.FF') WHERE ID = 1 AND LOCKED = 0;

UPDATE FLOWABLE.FLW_LIC_DATABASECHANGELOGLOCK SET LOCKED = 0, LOCKEDBY = NULL, LOCKGRANTED = NULL WHERE ID = 1;


UPDATE FLOWABLE.ACT_DE_DATABASECHANGELOGLOCK SET LOCKED = 1, LOCKEDBY = '192.168.68.111 (192.168.68.111)', LOCKGRANTED = TO_TIMESTAMP('2021-12-13 17:49:02.15', 'YYYY-MM-DD HH24:MI:SS.FF') WHERE ID = 1 AND LOCKED = 0;

ALTER TABLE FLOWABLE.ACT_DE_MODEL_HISTORY ADD tags_json_new CLOB;

update ACT_DE_MODEL_HISTORY
            set tags_json_new = tags_json;

ALTER TABLE FLOWABLE.ACT_DE_MODEL_HISTORY DROP COLUMN tags_json;

ALTER TABLE FLOWABLE.ACT_DE_MODEL_HISTORY RENAME COLUMN tags_json_new TO tags_json;

INSERT INTO FLOWABLE.ACT_DE_DATABASECHANGELOG (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('15', 'flowable', 'META-INF/liquibase/flowable-modeler-app-db-changelog.xml', SYSTIMESTAMP, 14, '8:62a221ab47b0831311cc3d7123e4621f', 'addColumn tableName=ACT_DE_MODEL_HISTORY; sql; dropColumn columnName=tags_json, tableName=ACT_DE_MODEL_HISTORY; renameColumn newColumnName=tags_json, oldColumnName=tags_json_new, tableName=ACT_DE_MODEL_HISTORY', '', 'EXECUTED', NULL, NULL, '4.3.5', '9417744316');

UPDATE FLOWABLE.ACT_DE_DATABASECHANGELOGLOCK SET LOCKED = 0, LOCKEDBY = NULL, LOCKGRANTED = NULL WHERE ID = 1;

